package com.zpark.mapper.impl;

import com.zpark.entity.User;
import com.zpark.mapper.IUserMapper;
import org.springframework.stereotype.Repository;

/**
 * @PackageName: com.zpark.mapper.impl
 * @ClassName: UserMapperImpl
 * @Description:
 * @author: RZS
 * @date: 2024/3/4  11:46
 */
@Repository
public class UserMapperImpl implements IUserMapper {
    @Override
    public User selectByUsername(String username) {
        // 模拟获取数据
        User user = new User();
        user.setUsername("大锤");
        user.setPassword("123456");

        return user;
    }
}
